package com.lg.task01;

/**
 * @author landuoduo
 * @date 2021/11/22 3:28 下午
 * @description
 * 测试类
 */
public class OldPhoneAndNewPhoneTest {
  public static void main(String[] args) {
    OldPhone op = new OldPhone();
    op.call();
    op.sendMessage();

    NewPhone np = new NewPhone();
    np.call();
    np.sendMessage();
    np.playGame();
  }
}
